package pers.cz.mapper;

import pers.cz.model.RequestRecord;
import pers.cz.model.RequestRecordExample;
import pers.cz.model.RequestRecordKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RequestRecordMapper {
    int countByExample(RequestRecordExample example);

    int deleteByExample(RequestRecordExample example);

    int deleteByPrimaryKey(RequestRecordKey key);

    int insert(RequestRecord record);

    int insertSelective(RequestRecord record);

    List<RequestRecord> selectByExample(RequestRecordExample example);

    RequestRecord selectByPrimaryKey(RequestRecordKey key);

    int updateByExampleSelective(@Param("record") RequestRecord record, @Param("example") RequestRecordExample example);

    int updateByExample(@Param("record") RequestRecord record, @Param("example") RequestRecordExample example);

    int updateByPrimaryKeySelective(RequestRecord record);

    int updateByPrimaryKey(RequestRecord record);

    List<RequestRecord> selectTopRequestRecord();
}
